package com.trkj.pojo;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.sql.Timestamp;


/**
 * The persistent class for the EMPLOYEES_MOBILIZE database table.
 * 
 */
@Entity
@Table(name="EMPLOYEES_MOBILIZE")
@NamedQuery(name="EmployeesMobilize.findAll", query="SELECT e FROM EmployeesMobilize e")
public class EmployeesMobilize implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@SequenceGenerator(name="EMPLOYEES_MOBILIZE_MOBILIZEID_GENERATOR", sequenceName="HR")
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="EMPLOYEES_MOBILIZE_MOBILIZEID_GENERATOR")
	@Column(name="MOBILIZE_ID")
	private long mobilizeId;

	@Column(name="INITIAL_DEPR_ID")
	private BigDecimal initialDeprId;

	@Column(name="MOBILIZE_EXECUTOR")
	private String mobilizeExecutor;

	@Column(name="VARIATION_DEPT_DATE")
	private Timestamp variationDeptDate;

	@Column(name="VARIATION_DEPT_ID")
	private BigDecimal variationDeptId;

	//bi-directional many-to-one association to DefinitionDept
	@ManyToOne
	@JoinColumn(name="DEFIDE_ID")
	private DefinitionDept definitionDept;

	//bi-directional many-to-one association to StaffInformation
	@ManyToOne
	@JoinColumn(name="STAIN_ID")
	private StaffInformation staffInformation;

	public EmployeesMobilize() {
	}

	public long getMobilizeId() {
		return this.mobilizeId;
	}

	public void setMobilizeId(long mobilizeId) {
		this.mobilizeId = mobilizeId;
	}

	public BigDecimal getInitialDeprId() {
		return this.initialDeprId;
	}

	public void setInitialDeprId(BigDecimal initialDeprId) {
		this.initialDeprId = initialDeprId;
	}

	public String getMobilizeExecutor() {
		return this.mobilizeExecutor;
	}

	public void setMobilizeExecutor(String mobilizeExecutor) {
		this.mobilizeExecutor = mobilizeExecutor;
	}

	public Timestamp getVariationDeptDate() {
		return this.variationDeptDate;
	}

	public void setVariationDeptDate(Timestamp variationDeptDate) {
		this.variationDeptDate = variationDeptDate;
	}

	public BigDecimal getVariationDeptId() {
		return this.variationDeptId;
	}

	public void setVariationDeptId(BigDecimal variationDeptId) {
		this.variationDeptId = variationDeptId;
	}

	public DefinitionDept getDefinitionDept() {
		return this.definitionDept;
	}

	public void setDefinitionDept(DefinitionDept definitionDept) {
		this.definitionDept = definitionDept;
	}

	public StaffInformation getStaffInformation() {
		return this.staffInformation;
	}

	public void setStaffInformation(StaffInformation staffInformation) {
		this.staffInformation = staffInformation;
	}

}